﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CyrideApp
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private void btnByBusOnClick(object sender, EventArgs e)
        {
            ByBus byBus = new ByBus(this);
            byBus.Owner = this;
            byBus.Show();
            this.Hide();
        }

        private void btnByLocationOnClick(object sender, EventArgs e)
        {
            ByLocation byLocation = new ByLocation(this);
            byLocation.Owner = this;
            byLocation.Show();
            this.Hide();
        }
    }
}